immutable reference is copyable, mutable reference is not copyable
- forum talking about immutable references implement Copy
- Copy marker, not trait
- When can't my type be Copy?
- Some types can't be copied safely. For example, copying
&mut T
would create an aliased mutable reference.
- Some types can't be copied safely. For example, copying
- Linked List의 IterMut을 구현하다가 밟은 레고조각 - Learning Rust with Entirely Too Many Linked Lists